Repository navigation
Conversation
|
@greptileai Please review this direct OTEL pricing change, including gateway precedence, cache token accounting, duplicate estimates, and list/detail integration. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
4e916d2 to
a8ca357
Compare
|
@greptileai Please review a8ca357, which addresses all previous findings and adds offline pricing, consistent call grouping, and batch regressions |
|
bugbot run Please review the current tip a8ca357 after the cost identity, batching, and offline pricing fixes |
a8ca357 to
8b441a4
Compare
|
@greptileai Please review this final tip for tier-only pricing, strict selected-rate validation, and used cache-duration handling; all focused tests pass |
|
bugbot run Please review the final tip with tier-only pricing, strict selected-rate validation, and cache-duration regressions passing locally |
8b441a4 to
52ca0e2
Compare
|
@greptileai Please review 52ca0e2 for GenAI compatibility, captured call time, and reasoning pricing. All three findings have regression coverage |
|
bugbot run Please review 52ca0e2 for GenAI alias compatibility, stored timestamps, and reasoning pricing after the latest fixes and regression tests |
52ca0e2 to
71d7e0a
Compare
|
@greptileai Please review 71d7e0a against gateway base e3d70ec, focusing on native pricing ownership, catalog parity, and late gateway reconciliation. |
69a3cf7 to
d61880b
Compare
|
@greptileai Please review the missing search-charge fix, including canonical model admission, reported usage, ordinary text controls, and all four storage projections |
|
bugbot run Please recheck search cost admission and verify normal token estimates and recorded gateway spend precedence remain intact |
d61880b to
b64de19
Compare
|
@greptileai please review b64de19: catalog-owned pricing requirements replace model-name heuristics, preserving request context and declining incomplete tool charges |
|
bugbot run Please review b64de19 for catalog pricing requirements, requested-model context, and unsupported tool usage; gateway billing execution remains unchanged |
b64de19 to
d3e867a
Compare
|
@greptileai please review d3e867a: pricing eligibility uses catalog supports_token_only_pricing metadata, compatible with base validation; request context and tool-usage regressions pass |
|
bugbot run Please review d3e867a, including catalog schema compatibility, requested-model pricing requirements, and tool usage; Python gateway billing remains unchanged |
d3e867a to
8dbee5f
Compare
|
@greptileai Please review 8dbee5f, including catalog routing contexts and named regression cases; gateway billing remains unchanged and live controls pass |
|
bugbot run Please review 8dbee5f for routing context preservation, catalog admission, and regressions; gateway and SDK billing remain on Python |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 8dbee5f. Configure here.
TLDR
Intentional product change: eligible direct calls display labeled estimates; unsupported charges remain unknown
User Flow
Before: a direct cached call has no visible cost
POST /v1/traces/lensand select the model callAfter: the same trace has a labeled estimate
POST /v1/traces/lensand select the model callEstimated $0.0013and its pricing sourceRelevant issues
Changes
supports_token_only_pricingfor hosted search and routing entriesScreenshots / Proof of Fix
Local gateway, rebuilt standalone Rust Lens and real ClickHouse; labeled synthetic controls and previously captured provider usage
Local demo and actual HTTP recording · Screenshot · Receipt
Before (d3e867a)
azure_ai/model_router/my-deployment, servedgpt-4o, with 100 input and 10 output tokensGET http://127.0.0.1:4691/v1/traces/000000000000000000000000000e7201$0.00035, omitting the routing feeAfter (8dbee5f)
http://127.0.0.1:4691/v1/traces$0.00125758; recorded gateway spend remains$0.00002455and$0Validation
make checkand the unchanged base catalog validator pass8dbee5ff; Bugbot found no issues; Veria passedCI status
Pre-Submission checklist
Caveats
Medium
Low